
<template>
    <div class="execution">
        <basic-container>
            <avue-crud
                       :permission="permissionList"
                       v-bind="bindVal"
                       v-on="onEvent"
                       :page.sync="page"
            >
            </avue-crud>
        </basic-container>
    </div>
</template>

<script>
    import {fetchList, getObj, addObj, putObj, delObj} from '@/api/subwaystm/swstpassengerworkcarddetail'
    import {tableOption} from '@/const/crud/subwaystm/swstpassengerworkcarddetail'
    import {mapGetters} from 'vuex'
    import baseCrud from '@/mixins/base-crud'

    export default {
        name: 'swstpassengerworkcarddetail',
      mixins: [baseCrud('subwaystm/swstpassengerworkcarddetail')],
        data() {
            return {
            }
        },
        computed: {
            ...mapGetters(['permissions']),
            permissionList() {
                return {
                    addBtn: this.vaildData(this.permissions.stm_sw_st_passenger_work_card_detail_add, false),
                    delBtn: this.vaildData(this.permissions.stm_sw_st_passenger_work_card_detail_del, false),
                    editBtn: this.vaildData(this.permissions.stm_sw_st_passenger_work_card_detail_edit, false)
                };
            }
        },
        methods: {
        }
    }
</script>
